using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN MonHocEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: MonHocEntity</para>
	/// <para>Description: ClassMonHocEntity store data of table MonHoc</para>
	///</summary>

	[DataContract]
	public partial class MonHocEntity{


		private bool _InternalChangedIsNullMonHoc_ID=true;
		private bool _IsNullMonHoc_ID=true;
		private bool _InternalChangedIsNullMaMonHoc=true;
		private bool _IsNullMaMonHoc=true;
		private bool _InternalChangedIsNullTenMonHoc=true;
		private bool _IsNullTenMonHoc=true;
		private bool _InternalChangedIsNullSoHocPhan=true;
		private bool _IsNullSoHocPhan=true;
		private bool _InternalChangedIsNullSoHocPhanHocPhi=true;
		private bool _IsNullSoHocPhanHocPhi=true;
		private bool _InternalChangedIsNullSoTietHoc=true;
		private bool _IsNullSoTietHoc=true;
		private bool _InternalChangedIsNullMoTa=true;
		private bool _IsNullMoTa=true;
		private bool _InternalChangedIsNullBoMon_ID=true;
		private bool _IsNullBoMon_ID=true;
		private int _MonHoc_ID;
		private string _MaMonHoc;
		private string _TenMonHoc;
		private Decimal _SoHocPhan;
		private Decimal _SoHocPhanHocPhi;
		private Decimal _SoTietHoc;
		private string _MoTa;
		private int _BoMon_ID;
		[DataMember]
		public bool IsNullMonHoc_ID{
			get{return _IsNullMonHoc_ID;}
			set{if(!_InternalChangedIsNullMonHoc_ID)_IsNullMonHoc_ID=value;}
		}
		[DataMember]
		public bool IsNullMaMonHoc{
			get{return _IsNullMaMonHoc;}
			set{if(!_InternalChangedIsNullMaMonHoc)_IsNullMaMonHoc=value;}
		}
		[DataMember]
		public bool IsNullTenMonHoc{
			get{return _IsNullTenMonHoc;}
			set{if(!_InternalChangedIsNullTenMonHoc)_IsNullTenMonHoc=value;}
		}
		[DataMember]
		public bool IsNullSoHocPhan{
			get{return _IsNullSoHocPhan;}
			set{if(!_InternalChangedIsNullSoHocPhan)_IsNullSoHocPhan=value;}
		}
		[DataMember]
		public bool IsNullSoHocPhanHocPhi{
			get{return _IsNullSoHocPhanHocPhi;}
			set{if(!_InternalChangedIsNullSoHocPhanHocPhi)_IsNullSoHocPhanHocPhi=value;}
		}
		[DataMember]
		public bool IsNullSoTietHoc{
			get{return _IsNullSoTietHoc;}
			set{if(!_InternalChangedIsNullSoTietHoc)_IsNullSoTietHoc=value;}
		}
		[DataMember]
		public bool IsNullMoTa{
			get{return _IsNullMoTa;}
			set{if(!_InternalChangedIsNullMoTa)_IsNullMoTa=value;}
		}
		[DataMember]
		public bool IsNullBoMon_ID{
			get{return _IsNullBoMon_ID;}
			set{if(!_InternalChangedIsNullBoMon_ID)_IsNullBoMon_ID=value;}
		}
		[DataMember]
		public int MonHoc_ID{
			get{return _MonHoc_ID;}
			set{
				_MonHoc_ID=value;
				if(_MonHoc_ID!=null){
					_IsNullMonHoc_ID=false;
					_InternalChangedIsNullMonHoc_ID=true;
				}
			}
		}
		[DataMember]
		public string MaMonHoc{
			get{return _MaMonHoc;}
			set{
				_MaMonHoc=value;
				if(_MaMonHoc!=null){
					_IsNullMaMonHoc=false;
					_InternalChangedIsNullMaMonHoc=true;
				}
			}
		}
		[DataMember]
		public string TenMonHoc{
			get{return _TenMonHoc;}
			set{
				_TenMonHoc=value;
				if(_TenMonHoc!=null){
					_IsNullTenMonHoc=false;
					_InternalChangedIsNullTenMonHoc=true;
				}
			}
		}
		[DataMember]
		public Decimal SoHocPhan{
			get{return _SoHocPhan;}
			set{
				_SoHocPhan=value;
				if(_SoHocPhan!=null){
					_IsNullSoHocPhan=false;
					_InternalChangedIsNullSoHocPhan=true;
				}
			}
		}
		[DataMember]
		public Decimal SoHocPhanHocPhi{
			get{return _SoHocPhanHocPhi;}
			set{
				_SoHocPhanHocPhi=value;
				if(_SoHocPhanHocPhi!=null){
					_IsNullSoHocPhanHocPhi=false;
					_InternalChangedIsNullSoHocPhanHocPhi=true;
				}
			}
		}
		[DataMember]
		public Decimal SoTietHoc{
			get{return _SoTietHoc;}
			set{
				_SoTietHoc=value;
				if(_SoTietHoc!=null){
					_IsNullSoTietHoc=false;
					_InternalChangedIsNullSoTietHoc=true;
				}
			}
		}
		[DataMember]
		public string MoTa{
			get{return _MoTa;}
			set{
				_MoTa=value;
				if(_MoTa!=null){
					_IsNullMoTa=false;
					_InternalChangedIsNullMoTa=true;
				}
			}
		}
		[DataMember]
		public int BoMon_ID{
			get{return _BoMon_ID;}
			set{
				_BoMon_ID=value;
				if(_BoMon_ID!=null){
					_IsNullBoMon_ID=false;
					_InternalChangedIsNullBoMon_ID=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END MonHocEntityBase*****************************************/
	/*****************************************************************************************************/
}

